From 64217a37358eb7d64e792771a7f05e3693311f61 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 1 Nov 2005 16:44:25 +0100 Subject: [PATCH] Temporary fix for blkfront failure on save/restore. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c index 51f836616a..a62f597ed2 100644 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c @@ -458,7 +458,7 @@ static void watch_for_status(struct xenbus_watch *watch, node += strlen(watch->node); /* FIXME: clean up when error on the other end. */ - if (info->connected == BLKIF_STATE_CONNECTED) + if ((info->connected == BLKIF_STATE_CONNECTED) || info->mi) return; err = xenbus_gather(NULL, watch->node, -- 2.30.2